package com.tedu.order.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderSavaParam {
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("总金额")
    private BigDecimal totalPrice;
    @ApiModelProperty("订单状态")
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("配送地址")
    private String deliveryAddress;
    @ApiModelProperty("联系电话")
    private String contactPhone;
}
